package com.ztmg.water.mapper.apartment;

import com.ztmg.water.model.apartment.ApartmentRooms;
import com.ztmg.water.model.apartment.ApartmentRoomsExample;
import java.util.List;
import java.util.Map;

import com.ztmg.water.vo.apartment.ApartmentAllVO;
import org.apache.ibatis.annotations.Param;

public interface ApartmentRoomsMapper {
    long countByExample(ApartmentRoomsExample example);

    int deleteByExample(ApartmentRoomsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ApartmentRooms record);

    int insertSelective(ApartmentRooms record);

    List<ApartmentRooms> selectByExample(ApartmentRoomsExample example);

    ApartmentRooms selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ApartmentRooms record, @Param("example") ApartmentRoomsExample example);

    int updateByExample(@Param("record") ApartmentRooms record, @Param("example") ApartmentRoomsExample example);

    int updateByPrimaryKeySelective(ApartmentRooms record);

    int updateByPrimaryKey(ApartmentRooms record);

    ApartmentAllVO selectAllApartmentInfo(Map<String,Object> params);
}